export enum SettingType {
    AVATAR = 'avatar',
    NICKNAME = 'nickname',
    PASSWORD = 'password',
    MEMBER_ID = 'memberId',
    GENDER = 'gender',
    BIRTHDAY = 'birthday',
    PHONE = 'phone',
    EMAIL = 'email',
    ADDRESS = 'address',
    THEME = 'theme'
}

export interface SettingItem {
    value: SettingType
    label: string
}

// 主题
export const themeArr = [
    {
        value: 'light',
        label: '日间'
    },
    {
        value: 'dark',
        label: '夜间'
    }
]
// 性别
export const genders = [
    {
        value: 1,
        label: '男'
    },
    {
        value: 2,
        label: '女'
    },
    {
        value: 3,
        label: '保密'
    }
]

// 设置操作
export const settingArr: SettingItem[] = [
    {
        value: SettingType.AVATAR,
        label: '头像'
    },
    {
        value: SettingType.NICKNAME,
        label: '昵称'
    },
    {
        value: SettingType.PASSWORD,
        label: '密码'
    },
    {
        value: SettingType.MEMBER_ID,
        label: '会员号'
    },
    {
        value: SettingType.GENDER,
        label: '性别'
    },
    {
        value: SettingType.BIRTHDAY,
        label: '生日'
    },
    {
        value: SettingType.PHONE,
        label: '手机号'
    },
    {
        value: SettingType.EMAIL,
        label: '邮箱'
    },
    {
        value: SettingType.ADDRESS,
        label: '地址'
    },
    // {
    //     value: SettingType.THEME,
    //     label: "主题"
    // }
]

// 厨房设置
export const cookSettings = [
    {
        label: "显示模块",
        value: ""
    }
]

export const upgradeConfig = [
    {name: '购物车', path: '/shop/cart/cart', iconKey: 'shop'},
    {name: '收藏', path: '#', iconKey: 'a-122_lianjie'},
    {name: '优惠券', path: '/shop/coupon/index', iconKey: 'a-122_biaodan'},
    {name: '设置', path: '/user/setting/index', iconKey: 'a-122_shezhi'},
]

export const basicConfig = [
    {name: '厨房', path: '/cook/index/index', iconKey: 'a-122_xiuxi'},
    {name: '商城', path: '/shop/index/index', iconKey: 'a-122_huanbao'},
    {name: '我的商城', path: '/cook/MyCook/MyCook', iconKey: 'a-122_huanbao'},
    {name: '我的厨房', path: '/cook/MyCook/MyCook', iconKey: 'a-122_xiuxi'},
]

export const orderTab = [
    {name: '全部', id: 0},
    {name: '待付款', id: 1},
    {name: '待发货', id: 2},
    {name: '待收货', id: 3},
    {name: '待评价', id: 4}
]

export const couponTab = [
    {name: '领券中心', id: 0},
    {name: '已领取', id: 1},
    {name: '已使用', id: 2},
    {name: '已失效', id: 3}
]

export const orderStatusArr = [
    {
        id: 0,
        name: '待付款',
        icon: '/static/icon/shop/daifukuan.png',
        tips: "请在10分钟内完成支付，否则订单将会自动取消"
    },
    {
        id: 1,
        name: '待发货',
        icon: '/static/icon/shop/daifahuo.png',
        tips: "商家正在为您发货，请耐心等待"
    },
    {
        id: 2,
        name: '待收货',
        icon: '/static/icon/shop/daishouhuo.png',
        tips: "商家已发货，请及时收货"
    },
    {
        id: 3,
        name: '待评价',
        icon: '/static/icon/shop/dianping.png',
        tips: "请对本次交易进行评价"
    },
    {
        id: 4,
        name: '已完成',
        icon: '',
        tips: "交易已完成"
    }
]

export const appraiseArr = [
    {
        id: 0,
        name: '全部'
    },
    {
        id: 1,
        name: '好评'
    },
    {
        id: 2,
        name: '中评'
    },
    {
        id: 3,
        name: '差评'
    }
]

export const storeRecommArr = [
    {
        id: 0,
        name: '店铺推荐'
    },
    {
        id: 1,
        name: '主推新品',
    },
    {
        id: 2,
        name: '热销商品'
    }
]

export const storeMenu = [
    {
        id: 0,
        name: '首页'
    },
    {
        id: 1,
        name: '宝贝'
    },
    {
        id: 2,
        name: '分类'
    },
    {
        id: 3,
        name: '客服'
    }
]